home *** CD-ROM | disk | FTP | other *** search
/ Products & Services for NeXT / Products & Services for NeXT.iso / AlembicDemo.app / ScriptWriter / CommandGroups / Searching.cmdgrp (.txt) < prev    next >
Encoding:
NeXT TypedStream Data  |  1993-08-06  |  87.8 KB  |  1,125 lines

  1. typedstream
  2. CommandGroup
  3. Object
  4.     Searching
  5. Command
  6. NXImage
  7. NXBitmapImageRep
  8. NXImageRep
  9. iisssss00
  10. [576c]UUUUUUUUUUU@
  11. EUUTo
  12. UUUUTno
  13. UUUUUUUUUUX
  14. NXCachedImageRep
  15. iiiiii00
  16. [4608c]eoU_eoU_U_U_T_U_T_U_eoU_eoU_T_U_T_U_eoUOT_U_eoUOe_U_T_U_ToU_e
  17. U_T_U_U_U_eoUoU_U_eoU_e_U_T_
  18. U_U_UoE_UoV_Uo
  19. T_U_U_U_U_U_ToU_T_E_e_U_T_
  20. UoU_UoE_Uo
  21. U_VoUo
  22. U_T_U_e_
  23. E_U_U_
  24. U_T_U_
  25. T_U_U_
  26. D_3?D_DOC_4OT_
  27. DOEODO4OD_4OD_4O3O4ODO4O3O
  28. DOCODOCO4OT_4?CODOCODOCODOCO4?
  29. UoVoUo
  30. D_4OD_DOD_4OD_E_3O4O3O4O3O4O3ODOU_
  31. DOT_DOCO4ODODOCO4?CODOCODOCODOCOU_
  32. DO4OCODO3O4OUo
  33. 3OCOU_
  34. UoVoCODODO
  35. EOT_EOTODO
  36. eoE_CO4OT_
  37. e_DODODO
  38. U_DO4OD_
  39. U_V_COw
  40. ToU_T_
  41. eoU_3O3?v
  42. UoEOU_3?3Og
  43. 3?3?v
  44. UoE_w
  45. 3?3?w
  46. T_U_v
  47. 3O4?e
  48. 3?3?v
  49. 3?C?fow
  50. 2?3?w
  51. UOe_EO
  52. 4O3OU_UoE_
  53. U_U_E_e_gow
  54. DO3O4OU_U_U_U_eoU_UoU_T_w
  55. 4O3O4OCOg
  56. 3O3O3OU_
  57. DO2?3?CO3?w
  58. 3?3O3?2?3?2?EO
  59. VoUog
  60. 4O3O4?3?4O3O3?3O3O3O4O3O#?3O#?3O#?3OVo
  61. 4?CODOCO3?2?3?3O3?3O3?v
  62. go3?#/3?U_
  63. foeoUov
  64. 3O#?C_#?3O4Of
  65. 2?3?3?U_
  66. fo2?3?2?U_
  67. VoeoUo
  68. 2?3?"?U_
  69. fo2?3?2?U_
  70. "?#?2?E_
  71. U_2?"/3?UO
  72. Vo3?#?"?E_
  73. UoVoUo
  74. E_UoV_U_E_UoU_UoE_UoU_UoE_UoU_UoE_UoU_U_U_UoU_UoE_UoU_UoE_UoE_UoU_eoU_"/"/2?U_UoE_UoE_Uo
  75. search a file for a string
  76. F{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  77. \margl40
  78. \margr40
  79. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b\i0\ulnone\fs24\fc0\cf0 bm
  80. \b0  searches the input files (standard input default) for lines matching a string. Normally, each line found is copied to the standard output. It is blindingly fast. Bm strings are fixed sequences of characters: there are no wildcards, repetitions, or other features of regular expressions. Bm is also case sensitive.\
  81. Unless the -h option is specified the file name is shown if there is more than one input file. Care should be taken when using the characters $ * [ ^ | ( ) and \\ in the strings (listed on the command line) as they are also meaningful to the Shell. It is safest to enclose the entire expression argument in single quotes ' '.\
  82. Bm searches for lines that contain one of the (newlineseparated) strings, using the Boyer-Moore algorithm. It is far superior in terms of speed to the grep (egrep, fgrep) family of pattern matchers for fixed-pattern searching, and its speed increases with pattern length.
  83. CommandOption
  84. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;\f1\fswiss Helvetica;}
  85. \margl40
  86. \margr40
  87. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 (Exact) only lines matched in their entirety are printed
  88. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  89. \margl40
  90. \margr40
  91. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 The names of files with matching lines are listed (once) separated by newlines
  92. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  93. \margl40
  94. \margr40
  95. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 Only a count of the number of matches is printed
  96. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  97. \margl40
  98. \margr40
  99. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 The string is the next argument after the -e flag. This allows strings beginning with '-'
  100. CommandArgument
  101. string
  102. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  103. \margl40
  104. \margr40
  105. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 The next argument after the flag
  106. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  107. \margl40
  108. \margr40
  109. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 No filenames are printed, even if multiple files are searched
  110. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  111. \margl40
  112. \margr40
  113. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 Each line is preceded by the number of characters from the beginning of the file to the match
  114. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  115. \margl40
  116. \margr40
  117. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 Silent mode. Nothing is printed (except error messages). This is useful for checking the error status
  118. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  119. \margl40
  120. \margr40
  121. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 The string list is taken from the path. This may be either a file or a tty
  122. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  123. \margl40
  124. \margr40
  125. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 The path that the string list is taken from
  126. strings
  127. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  128. \margl40
  129. \margr40
  130. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 Strings to be searched for
  131. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  132. \margl40
  133. \margr40
  134. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 File to be searched to match 
  135. \b strings
  136.     /usr/bin/
  137. UUUUUUUUUUU@
  138. EUUTo
  139. UUUUTno
  140. UUUUUUUUUUX
  141. eoU_eoU_U_U_T_U_T_U_eoU_eoU_T_U_T_U_eoUOT_U_eoUOe_U_T_U_ToU_e
  142. U_T_U_U_U_eoUoU_U_eoU_e_U_T_
  143. U_U_UoE_UoV_Uo
  144. T_U_U_U_U_U_ToU_T_E_e_U_T_
  145. UoU_UoE_Uo
  146. U_VoUo
  147. U_T_U_e_
  148. E_U_U_
  149. U_T_U_
  150. T_U_U_
  151. D_3?D_DOC_4OT_
  152. DOEODO4OD_4OD_4O3O4ODO4O3O
  153. DOCODOCO4OT_4?CODOCODOCODOCO4?
  154. UoVoUo
  155. D_4OD_DOD_4OD_E_3O4O3O4O3O4O3ODOU_
  156. DOT_DOCO4ODODOCO4?CODOCODOCODOCOU_
  157. DO4OCODO3O4OUo
  158. 3OCOU_
  159. UoVoCODODO
  160. EOT_EOTODO
  161. eoE_CO4OT_
  162. e_DODODO
  163. U_DO4OD_
  164. U_V_COw
  165. ToU_T_
  166. eoU_3O3?v
  167. UoEOU_3?3Og
  168. 3?3?v
  169. UoE_w
  170. 3?3?w
  171. T_U_v
  172. 3O4?e
  173. 3?3?v
  174. 3?C?fow
  175. 2?3?w
  176. UOe_EO
  177. 4O3OU_UoE_
  178. U_U_E_e_gow
  179. DO3O4OU_U_U_U_eoU_UoU_T_w
  180. 4O3O4OCOg
  181. 3O3O3OU_
  182. DO2?3?CO3?w
  183. 3?3O3?2?3?2?EO
  184. VoUog
  185. 4O3O4?3?4O3O3?3O3O3O4O3O#?3O#?3O#?3OVo
  186. 4?CODOCO3?2?3?3O3?3O3?v
  187. go3?#/3?U_
  188. foeoUov
  189. 3O#?C_#?3O4Of
  190. 2?3?3?U_
  191. fo2?3?2?U_
  192. VoeoUo
  193. 2?3?"?U_
  194. fo2?3?2?U_
  195. "?#?2?E_
  196. U_2?"/3?UO
  197. Vo3?#?"?E_
  198. UoVoUo
  199. E_UoV_U_E_UoU_UoE_UoU_UoE_UoU_UoE_UoU_U_U_UoU_UoE_UoU_UoE_UoE_UoU_eoU_"/"/2?U_UoE_UoE_Uo
  200. egrep
  201. search a file for a pattern
  202. x{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  203. \margl40
  204. \margr40
  205. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Commands of the grep family search the input files (standard input default) for lines matching a pattern. Normally, each line found is copied to the standard output. Grep patterns are limited regular expressions in the style of ex(1); it uses a compact nondeterministic algorithm. Egrep patterns are full regular expressions; it uses a fast deterministic algorithm that sometimes needs exponential space. Fgrep patterns are fixed strings; it is fast and compact.
  206. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;\f1\fswiss Helvetica;}
  207. \margl40
  208. \margr40
  209. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 All lines but those matching are printed
  210. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  211. \margl40
  212. \margr40
  213. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 Only a count of matching lines is printed
  214. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  215. \margl40
  216. \margr40
  217. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 Each line is preceded by its relative line number in the file
  218. *{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  219. \margl40
  220. \margr40
  221. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 Each line is preceded by the block number on which it was found. This is sometimes useful in locating disk block numbers by context
  222. !{\rtf0\ansi{\fonttbl\f0\fmodern Courier;\f1\fswiss Helvetica;}
  223. \margl40
  224. \margr40
  225. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 Silent mode. Nothing is printed (except error messages). This is useful for checking the error status
  226. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;\f1\fswiss Helvetica;}
  227. \margl40
  228. \margr40
  229. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 Same as a simple expression argument, but useful when the expression begins with a '-'
  230. expression
  231. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  232. \margl40
  233. \margr40
  234. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Same as main expression, but useful when expression begins with '-'
  235. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  236. \margl40
  237. \margr40
  238. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 The regular expression is taken from the file
  239. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  240. \margl40
  241. \margr40
  242. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 The file the regular expression is taken from.
  243. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  244. \margl40
  245. \margr40
  246. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 The file(s) to be searched
  247. UUUUUUUUUUU@
  248. EUUTo
  249. UUUUTno
  250. UUUUUUUUUUX
  251. eoU_eoU_U_U_T_U_T_U_eoU_eoU_T_U_T_U_eoUOT_U_eoUOe_U_T_U_ToU_e
  252. U_T_U_U_U_eoUoU_U_eoU_e_U_T_
  253. U_U_UoE_UoV_Uo
  254. T_U_U_U_U_U_ToU_T_E_e_U_T_
  255. UoU_UoE_Uo
  256. U_VoUo
  257. U_T_U_e_
  258. E_U_U_
  259. U_T_U_
  260. T_U_U_
  261. D_3?D_DOC_4OT_
  262. DOEODO4OD_4OD_4O3O4ODO4O3O
  263. DOCODOCO4OT_4?CODOCODOCODOCO4?
  264. UoVoUo
  265. D_4OD_DOD_4OD_E_3O4O3O4O3O4O3ODOU_
  266. DOT_DOCO4ODODOCO4?CODOCODOCODOCOU_
  267. DO4OCODO3O4OUo
  268. 3OCOU_
  269. UoVoCODODO
  270. EOT_EOTODO
  271. eoE_CO4OT_
  272. e_DODODO
  273. U_DO4OD_
  274. U_V_COw
  275. ToU_T_
  276. eoU_3O3?v
  277. UoEOU_3?3Og
  278. 3?3?v
  279. UoE_w
  280. 3?3?w
  281. T_U_v
  282. 3O4?e
  283. 3?3?v
  284. 3?C?fow
  285. 2?3?w
  286. UOe_EO
  287. 4O3OU_UoE_
  288. U_U_E_e_gow
  289. DO3O4OU_U_U_U_eoU_UoU_T_w
  290. 4O3O4OCOg
  291. 3O3O3OU_
  292. DO2?3?CO3?w
  293. 3?3O3?2?3?2?EO
  294. VoUog
  295. 4O3O4?3?4O3O3?3O3O3O4O3O#?3O#?3O#?3OVo
  296. 4?CODOCO3?2?3?3O3?3O3?v
  297. go3?#/3?U_
  298. foeoUov
  299. 3O#?C_#?3O4Of
  300. 2?3?3?U_
  301. fo2?3?2?U_
  302. VoeoUo
  303. 2?3?"?U_
  304. fo2?3?2?U_
  305. "?#?2?E_
  306. U_2?"/3?UO
  307. Vo3?#?"?E_
  308. UoVoUo
  309. E_UoV_U_E_UoU_UoE_UoU_UoE_UoU_UoE_UoU_U_U_UoU_UoE_UoU_UoE_UoE_UoU_eoU_"/"/2?U_UoE_UoE_Uo
  310. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;\f1\fswiss Helvetica;}
  311. \margl40
  312. \margr40
  313. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 Only a count of matching lines is printed
  314. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  315. \margl40
  316. \margr40
  317. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 The case of letters is ignored in making comparisons that is, upper and lower case are considered identical.
  318. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  319. \margl40
  320. \margr40
  321. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 The expression is searched for as a word (as if surrounded by `<' and `>', see ex(1).)
  322. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  323. \margl40
  324. \margr40
  325. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 Same as a simple expression argument, but useful when the expression begins with a '
  326. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  327. \margl40
  328. \margr40
  329. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Same as main expression but useful when expression begins with a '-'
  330. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  331. \margl40
  332. \margr40
  333. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 The expression to try to match
  334. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  335. \margl40
  336. \margr40
  337. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 The file to match the expression in
  338. UUUUUUUUUUU@
  339. EUUTo
  340. UUUUTno
  341. UUUUUUUUUUX
  342. eoU_eoU_U_U_T_U_T_U_eoU_eoU_T_U_T_U_eoUOT_U_eoUOe_U_T_U_ToU_e
  343. U_T_U_U_U_eoUoU_U_eoU_e_U_T_
  344. U_U_UoE_UoV_Uo
  345. T_U_U_U_U_U_ToU_T_E_e_U_T_
  346. UoU_UoE_Uo
  347. U_VoUo
  348. U_T_U_e_
  349. E_U_U_
  350. U_T_U_
  351. T_U_U_
  352. D_3?D_DOC_4OT_
  353. DOEODO4OD_4OD_4O3O4ODO4O3O
  354. DOCODOCO4OT_4?CODOCODOCODOCO4?
  355. UoVoUo
  356. D_4OD_DOD_4OD_E_3O4O3O4O3O4O3ODOU_
  357. DOT_DOCO4ODODOCO4?CODOCODOCODOCOU_
  358. DO4OCODO3O4OUo
  359. 3OCOU_
  360. UoVoCODODO
  361. EOT_EOTODO
  362. eoE_CO4OT_
  363. e_DODODO
  364. U_DO4OD_
  365. U_V_COw
  366. ToU_T_
  367. eoU_3O3?v
  368. UoEOU_3?3Og
  369. 3?3?v
  370. UoE_w
  371. 3?3?w
  372. T_U_v
  373. 3O4?e
  374. 3?3?v
  375. 3?C?fow
  376. 2?3?w
  377. UOe_EO
  378. 4O3OU_UoE_
  379. U_U_E_e_gow
  380. DO3O4OU_U_U_U_eoU_UoU_T_w
  381. 4O3O4OCOg
  382. 3O3O3OU_
  383. DO2?3?CO3?w
  384. 3?3O3?2?3?2?EO
  385. VoUog
  386. 4O3O4?3?4O3O3?3O3O3O4O3O#?3O#?3O#?3OVo
  387. 4?CODOCO3?2?3?3O3?3O3?v
  388. go3?#/3?U_
  389. foeoUov
  390. 3O#?C_#?3O4Of
  391. 2?3?3?U_
  392. fo2?3?2?U_
  393. VoeoUo
  394. 2?3?"?U_
  395. fo2?3?2?U_
  396. "?#?2?E_
  397. U_2?"/3?UO
  398. Vo3?#?"?E_
  399. UoVoUo
  400. E_UoV_U_E_UoU_UoE_UoU_UoE_UoU_UoE_UoU_U_U_UoU_UoE_UoU_UoE_UoE_UoU_eoU_"/"/2?U_UoE_UoE_Uo
  401. fgrep
  402. [10@]
  403. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  404. \margl40
  405. \margr40
  406. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 (Exact) only lines matched in their entirety are printed
  407. ){\rtf0\ansi{\fonttbl\f0\fmodern Courier;\f1\fswiss Helvetica;}
  408. \margl40
  409. \margr40
  410. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 The case of letters is ignored in making comparisons that is, upper and lower case are considered identical
  411. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  412. \margl40
  413. \margr40
  414. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 The string list is taken from the file
  415. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  416. \margl40
  417. \margr40
  418. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 The file the string list is taken from
  419. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  420. \margl40
  421. \margr40
  422. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 The files searched for the expression
  423. UUUUUUUUUUU@
  424. EUUTo
  425. UUUUTno
  426. UUUUUUUUUUX
  427. eoU_eoU_U_U_T_U_T_U_eoU_eoU_T_U_T_U_eoUOT_U_eoUOe_U_T_U_ToU_e
  428. U_T_U_U_U_eoUoU_U_eoU_e_U_T_
  429. U_U_UoE_UoV_Uo
  430. T_U_U_U_U_U_ToU_T_E_e_U_T_
  431. UoU_UoE_Uo
  432. U_VoUo
  433. U_T_U_e_
  434. E_U_U_
  435. U_T_U_
  436. T_U_U_
  437. D_3?D_DOC_4OT_
  438. DOEODO4OD_4OD_4O3O4ODO4O3O
  439. DOCODOCO4OT_4?CODOCODOCODOCO4?
  440. UoVoUo
  441. D_4OD_DOD_4OD_E_3O4O3O4O3O4O3ODOU_
  442. DOT_DOCO4ODODOCO4?CODOCODOCODOCOU_
  443. DO4OCODO3O4OUo
  444. 3OCOU_
  445. UoVoCODODO
  446. EOT_EOTODO
  447. eoE_CO4OT_
  448. e_DODODO
  449. U_DO4OD_
  450. U_V_COw
  451. ToU_T_
  452. eoU_3O3?v
  453. UoEOU_3?3Og
  454. 3?3?v
  455. UoE_w
  456. 3?3?w
  457. T_U_v
  458. 3O4?e
  459. 3?3?v
  460. 3?C?fow
  461. 2?3?w
  462. UOe_EO
  463. 4O3OU_UoE_
  464. U_U_E_e_gow
  465. DO3O4OU_U_U_U_eoU_UoU_T_w
  466. 4O3O4OCOg
  467. 3O3O3OU_
  468. DO2?3?CO3?w
  469. 3?3O3?2?3?2?EO
  470. VoUog
  471. 4O3O4?3?4O3O3?3O3O3O4O3O#?3O#?3O#?3OVo
  472. 4?CODOCO3?2?3?3O3?3O3?v
  473. go3?#/3?U_
  474. foeoUov
  475. 3O#?C_#?3O4Of
  476. 2?3?3?U_
  477. fo2?3?2?U_
  478. VoeoUo
  479. 2?3?"?U_
  480. fo2?3?2?U_
  481. "?#?2?E_
  482. U_2?"/3?UO
  483. Vo3?#?"?E_
  484. UoVoUo
  485. E_UoV_U_E_UoU_UoE_UoU_UoE_UoU_UoE_UoU_U_U_UoU_UoE_UoU_UoE_UoE_UoU_eoU_"/"/2?U_UoE_UoE_Uo
  486. find files
  487. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  488. \margl40
  489. \margr40
  490. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b\i0\ulnone\fs24\fc0\cf0 find
  491. \b0  recursively descends the directory hierarchy for each pathname in the pathname-list, seeking files that match a boolean (logical) expression written in the primaries given below. In the descriptions, the argument n is used as a decimal integer where +n means more than n, -n means less than n, and n means exactly n.
  492. [24@]
  493. -fstype
  494. ${\rtf0\ansi{\fonttbl\f0\fmodern Courier;\f1\fswiss Helvetica;}
  495. \margl40
  496. \margr40
  497. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 True if the filesystem to which the the file belongs is of type type, where type is typically 4.2 or nfs
  498. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  499. \margl40
  500. \margr40
  501. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Filesystem type filesystem must belong to. Type is typically 4.3 or nfs
  502. -name
  503. +{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  504. \margl40
  505. \margr40
  506. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 True if the filename argument matches the current file name. Shell argument syntax can be used if escaped (watch out for [, ? and *)
  507. filename
  508. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  509. \margl40
  510. \margr40
  511. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Filename current filename must match
  512. -perm
  513. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  514. \margl40
  515. \margr40
  516. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 True if the file permission flags exactly match the octal number onum (see chmod(1V)). If onum is prefixed by a minus sign, more flag bits (017777, see stat(2)) become significant and the flags are compared: (flags&onum)==onum
  517. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  518. \margl40
  519. \margr40
  520. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 File permissions current file must match
  521. -prune
  522. R{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  523. \margl40
  524. \margr40
  525. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 Always yields true. Has the side effect of pruning the search tree at the file. That is, if the current path name is a directory, find will not descend into that directory
  526. -type
  527. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  528. \margl40
  529. \margr40
  530. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 True if the type of the file is c, where c is one of the elements in the list
  531. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  532. \margl40
  533. \margr40
  534. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 For block special file
  535. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  536. \margl40
  537. \margr40
  538. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 For character special file
  539. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  540. \margl40
  541. \margr40
  542. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 For directory
  543. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  544. \margl40
  545. \margr40
  546. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 For plain file
  547. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  548. \margl40
  549. \margr40
  550. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 For named pipe (FIFO)
  551. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  552. \margl40
  553. \margr40
  554. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 For symbolic link
  555. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  556. \margl40
  557. \margr40
  558. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 For socket
  559. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  560. \margl40
  561. \margr40
  562. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Type of file the current file must match
  563. -links
  564. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  565. \margl40
  566. \margr40
  567. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 True if the file has n links
  568. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  569. \margl40
  570. \margr40
  571. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 The number of links a file must have
  572. -user
  573. >{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  574. \margl40
  575. \margr40
  576. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 True if the file belongs to the user uname. If uname is numeric and does not appear as a login name in the passwd(5) database, it is taken as a user ID
  577. uname
  578. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  579. \margl40
  580. \margr40
  581. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Username file must belong to
  582. -nouser
  583. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  584. \margl40
  585. \margr40
  586. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 True if the file belongs to a user not in the passwd database
  587. -group
  588. ;{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  589. \margl40
  590. \margr40
  591. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 True if the file belongs to group gname. If gname is numeric and does not appear as a login name in the group(5) database, it is taken as a group ID
  592. gname
  593. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  594. \margl40
  595. \margr40
  596. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Name of group file must belong to
  597. -nogroup
  598. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  599. \margl40
  600. \margr40
  601. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 True if the file belongs to a group not in the group database
  602. -size
  603. '{\rtf0\ansi{\fonttbl\f0\fmodern Courier;\f1\fswiss Helvetica;}
  604. \margl40
  605. \margr40
  606. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 True if the file is n blocks long (512 bytes per block). If n is followed by a c, the size is in characters
  607. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  608. \margl40
  609. \margr40
  610. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Number of blocks the file must be
  611. -inum
  612. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  613. \margl40
  614. \margr40
  615. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 True if the file has inode number n
  616. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  617. \margl40
  618. \margr40
  619. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Inode number file must have
  620. -atime
  621. ({\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  622. \margl40
  623. \margr40
  624. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 True if the file has been accessed in n days. Note that the access time of directories in pathname-list is changed by find itself
  625. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  626. \margl40
  627. \margr40
  628. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Number of days file must have been accessed in
  629. -mtime
  630. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  631. \margl40
  632. \margr40
  633. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 True if the file has been modified in n days
  634. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  635. \margl40
  636. \margr40
  637. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Number of days the file must have been modified in
  638. -ctime
  639. s{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  640. \margl40
  641. \margr40
  642. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 True if the file has been changed in n days. ``Changed'' means either that the file has been modified or some attribute of the file (its owner, its group, the number of links to it, etc.) has been changed
  643. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  644. \margl40
  645. \margr40
  646. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Number of days file must have been changed in
  647. -exec
  648. g{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  649. \margl40
  650. \margr40
  651. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 True if the executed command returns a zero value as exit status. The end of command must be punctuated by an escaped semicolon. A command argument \{\} is replaced by the current pathname.
  652. command
  653. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  654. \margl40
  655. \margr40
  656. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Command that must return 0 as an exit status
  657. G{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  658. \margl40
  659. \margr40
  660. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Like -exec except that the generated command is written on the standard output, then the standard input is read and the command executed only upon response y
  661. -print
  662. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  663. \margl40
  664. \margr40
  665. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Always true; the current pathname is printed
  666. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  667. \margl40
  668. \margr40
  669. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Always true; causes current pathname to be printed together with its associated statistics. These include (respectively) inode number, size in kilobytes (1024 bytes), protection mode, number of hard links, user, group, size in bytes, and modification time. If the file is a special file the size field will instead contain the major and minor device numbers. If the file is a symbolic link the pathname of the linked-to file is printed preceded by ``->''. The format is identical to that of ``ls -gilds'' (note however that formatting is done internally, without executing the ls program)
  670. -cpio
  671. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  672. \margl40
  673. \margr40
  674. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Always true; write the current file on device in cpio format (5120-byte records)
  675. device
  676. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  677. \margl40
  678. \margr40
  679. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 The device to write the current file on
  680. -ncpio
  681. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  682. \margl40
  683. \margr40
  684. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Always true; write the current file on device in cpio-c format (5120-byte records)
  685. -newer
  686. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  687. \margl40
  688. \margr40
  689. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 True if the current file has been modified more recently than the argument file
  690. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  691. \margl40
  692. \margr40
  693. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 The file that must have been modified more recently than the current file
  694. -xdev
  695. ,{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  696. \margl40
  697. \margr40
  698. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Always true; causes find not to traverse down into a file system different from the one on which current argument pathname resides
  699. -depth
  700. 7{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  701. \margl40
  702. \margr40
  703. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Always true; causes descent of the directory hierarchy to be done so that all entries in a directory are acted on before the directory itself
  704. pathname-list
  705. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  706. \margl40
  707. \margr40
  708. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 The list of pathnames to be searched
  709. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  710. \margl40
  711. \margr40
  712. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 The expression to be searched for. Has a variety of formats:\
  713. \i ( expression )
  714. \i0 \
  715. True if the parenthesized expression is true (parentheses are special to the shell and must be escaped).\
  716. \i !primary
  717. \i0 \
  718. True if the primary is false (`!' is the unary not operator).\
  719. \i primary1 [ -a ] primary2
  720. \i0  True if both primary1 and primary2 are true. The -a is not required. It is implied by the juxtaposition of two primaries.\
  721. \i primary1 -o primary2
  722. \i0 \
  723. True if either primary1 or primary2 is true (`-o' is the or operator).
  724. eoU_eoU_U_U_T_U_T_U_eoU_eoU_T_U_T_U_eoUOT_U_eoUOe_U_T_U_ToU_e
  725. U_T_U_U_U_eoUoU_U_eoU_e_U_T_
  726. U_U_UoE_UoV_Uo
  727. T_U_U_U_U_U_ToU_T_E_e_U_T_
  728. UoU_UoE_Uo
  729. U_VoUo
  730. U_T_U_e_
  731. E_U_U_
  732. U_T_U_
  733. T_U_U_
  734. D_3?D_DOC_4OT_
  735. DOEODO4OD_4OD_4O3O4ODO4O3O
  736. DOCODOCO4OT_4?CODOCODOCODOCO4?
  737. UoVoUo
  738. D_4OD_DOD_4OD_E_3O4O3O4O3O4O3ODOU_
  739. DOT_DOCO4ODODOCO4?CODOCODOCODOCOU_
  740. DO4OCODO3O4OUo
  741. 3OCOU_
  742. UoVoCODODO
  743. EOT_EOTODO
  744. eoE_CO4OT_
  745. e_DODODO
  746. U_DO4OD_
  747. U_V_COw
  748. ToU_T_
  749. eoU_3O3?v
  750. UoEOU_3?3Og
  751. 3?3?v
  752. UoE_w
  753. 3?3?w
  754. T_U_v
  755. 3O4?e
  756. 3?3?v
  757. 3?C?fow
  758. 2?3?w
  759. UOe_EO
  760. 4O3OU_UoE_
  761. U_U_E_e_gow
  762. DO3O4OU_U_U_U_eoU_UoU_T_w
  763. 4O3O4OCOg
  764. 3O3O3OU_
  765. DO2?3?CO3?w
  766. 3?3O3?2?3?2?EO
  767. VoUog
  768. 4O3O4?3?4O3O3?3O3O3O4O3O#?3O#?3O#?3OVo
  769. 4?CODOCO3?2?3?3O3?3O3?v
  770. go3?#/3?U_
  771. foeoUov
  772. 3O#?C_#?3O4Of
  773. 2?3?3?U_
  774. fo2?3?2?U_
  775. VoeoUo
  776. 2?3?"?U_
  777. fo2?3?2?U_
  778. "?#?2?E_
  779. U_2?"/3?UO
  780. Vo3?#?"?E_
  781. UoVoUo
  782. E_UoV_U_E_UoU_UoE_UoU_UoE_UoU_UoE_UoU_U_U_UoU_UoE_UoU_UoE_UoE_UoU_eoU_"/"/2?U_UoE_UoE_Uo
  783. UUUUUUUUUUU@
  784. EUUTo
  785. UUUUTno
  786. UUUUUUUUUUX
  787. Find lines in a sorted list
  788. ^{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  789. \margl40
  790. \margr40
  791. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b\i0\ulnone\fs24\fc0\cf0 look
  792. \b0  consults a sorted file and prints all lines that begin with string. It uses binary search. If no file is specified, /usr/dict/words is assumed with collating sequence -df.
  793. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;\f1\fswiss Helvetica;}
  794. \margl40
  795. \margr40
  796. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 Fold. Upper case letters compare equal to lower case
  797. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  798. \margl40
  799. \margr40
  800. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 `Dictionary' order: only letters, digits, tabs and blanks participate in comparisons
  801. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  802. \margl40
  803. \margr40
  804. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 The string that lines must begin with
  805. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  806. \margl40
  807. \margr40
  808. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 The file to be searched
  809. UUUUUUUUUUU@
  810. EUUTo
  811. UUUUTno
  812. UUUUUUUUUUX
  813. eoU_eoU_U_U_T_U_T_U_eoU_eoU_T_U_T_U_eoUOT_U_eoUOe_U_T_U_ToU_e
  814. U_T_U_U_U_eoUoU_U_eoU_e_U_T_
  815. U_U_UoE_UoV_Uo
  816. T_U_U_U_U_U_ToU_T_E_e_U_T_
  817. UoU_UoE_Uo
  818. U_VoUo
  819. U_T_U_e_
  820. E_U_U_
  821. U_T_U_
  822. T_U_U_
  823. D_3?D_DOC_4OT_
  824. DOEODO4OD_4OD_4O3O4ODO4O3O
  825. DOCODOCO4OT_4?CODOCODOCODOCO4?
  826. UoVoUo
  827. D_4OD_DOD_4OD_E_3O4O3O4O3O4O3ODOU_
  828. DOT_DOCO4ODODOCO4?CODOCODOCODOCOU_
  829. DO4OCODO3O4OUo
  830. 3OCOU_
  831. UoVoCODODO
  832. EOT_EOTODO
  833. eoE_CO4OT_
  834. e_DODODO
  835. U_DO4OD_
  836. U_V_COw
  837. ToU_T_
  838. eoU_3O3?v
  839. UoEOU_3?3Og
  840. 3?3?v
  841. UoE_w
  842. 3?3?w
  843. T_U_v
  844. 3O4?e
  845. 3?3?v
  846. 3?C?fow
  847. 2?3?w
  848. UOe_EO
  849. 4O3OU_UoE_
  850. U_U_E_e_gow
  851. DO3O4OU_U_U_U_eoU_UoU_T_w
  852. 4O3O4OCOg
  853. 3O3O3OU_
  854. DO2?3?CO3?w
  855. 3?3O3?2?3?2?EO
  856. VoUog
  857. 4O3O4?3?4O3O3?3O3O3O4O3O#?3O#?3O#?3OVo
  858. 4?CODOCO3?2?3?3O3?3O3?v
  859. go3?#/3?U_
  860. foeoUov
  861. 3O#?C_#?3O4Of
  862. 2?3?3?U_
  863. fo2?3?2?U_
  864. VoeoUo
  865. 2?3?"?U_
  866. fo2?3?2?U_
  867. "?#?2?E_
  868. U_2?"/3?UO
  869. Vo3?#?"?E_
  870. UoVoUo
  871. E_UoV_U_E_UoU_UoE_UoU_UoE_UoU_UoE_UoU_U_U_UoU_UoE_UoU_UoE_UoE_UoU_eoU_"/"/2?U_UoE_UoE_Uo
  872. sort or merge files
  873. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  874. \margl40
  875. \margr40
  876. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b\i0\ulnone\fs24\fc0\cf0 sort
  877. \b0  sorts lines of all the named files together and writes the result on the standard output. The name `-' means the standard input. If no input files are named, the standard input is sorted. The default sort key is an entire line. Default ordering is lexicographic by bytes in machine collating sequence.
  878. [14@]
  879. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  880. \margl40
  881. \margr40
  882. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Ignore leading blanks (spaces and tabs) in field comparisons
  883. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  884. \margl40
  885. \margr40
  886. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Check that the input file is sorted according to the ordering rules; give no output unless the file is out of sort
  887. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  888. \margl40
  889. \margr40
  890. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 `Dictionary' order: only letters, digits and blanks are significant in comparisons
  891. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  892. \margl40
  893. \margr40
  894. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Fold upper case letters onto lower case
  895. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  896. \margl40
  897. \margr40
  898. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Ignore characters outside the ASCII range 040-0176 in nonnumeric comparisons
  899. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  900. \margl40
  901. \margr40
  902. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Merge only, the input files are already sorted
  903. g{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  904. \margl40
  905. \margr40
  906. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 An initial numeric string, consisting of optional blanks, optional minus sign, and zero or more digits with optional decimal point, is sorted by arithmetic value. Option n implies option b.
  907. /{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  908. \margl40
  909. \margr40
  910. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 The next argument is the name of an output file to use instead of the standard output. This file may be the same as one of the inputs
  911. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  912. \margl40
  913. \margr40
  914. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 The name of the output file
  915. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  916. \margl40
  917. \margr40
  918. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Reverse the sense of comparisons
  919. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  920. \margl40
  921. \margr40
  922. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 `Tab character' separating fields is x
  923. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  924. \margl40
  925. \margr40
  926. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 The tab character separating fields
  927. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  928. \margl40
  929. \margr40
  930. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 The next argument is the name of a directory in which temporary files should be made
  931.     directory
  932. %{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  933. \margl40
  934. \margr40
  935. \pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Suppress all but one in each set of equal lines. Ignored bytes and bytes outside keys do not participate in this comparison
  936. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  937. \margl40
  938. \margr40
  939. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Restrict sort keys starting at pos1 (used with -pos2)
  940. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  941. \margl40
  942. \margr40
  943. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 The starting character to restrict sort keys
  944. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  945. \margl40
  946. \margr40
  947. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Restrict sort keys ending at pos2 (used with +pos1)
  948. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  949. \margl40
  950. \margr40
  951. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 The ending character to restrict sort keys
  952. files
  953. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  954. \margl40
  955. \margr40
  956. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 The file(s) to be sorted
  957. eoU_eoU_U_U_T_U_T_U_eoU_eoU_T_U_T_U_eoUOT_U_eoUOe_U_T_U_ToU_e
  958. U_T_U_U_U_eoUoU_U_eoU_e_U_T_
  959. U_U_UoE_UoV_Uo
  960. T_U_U_U_U_U_ToU_T_E_e_U_T_
  961. UoU_UoE_Uo
  962. U_VoUo
  963. U_T_U_e_
  964. E_U_U_
  965. U_T_U_
  966. T_U_U_
  967. D_3?D_DOC_4OT_
  968. DOEODO4OD_4OD_4O3O4ODO4O3O
  969. DOCODOCO4OT_4?CODOCODOCODOCO4?
  970. UoVoUo
  971. D_4OD_DOD_4OD_E_3O4O3O4O3O4O3ODOU_
  972. DOT_DOCO4ODODOCO4?CODOCODOCODOCOU_
  973. DO4OCODO3O4OUo
  974. 3OCOU_
  975. UoVoCODODO
  976. EOT_EOTODO
  977. eoE_CO4OT_
  978. e_DODODO
  979. U_DO4OD_
  980. U_V_COw
  981. ToU_T_
  982. eoU_3O3?v
  983. UoEOU_3?3Og
  984. 3?3?v
  985. UoE_w
  986. 3?3?w
  987. T_U_v
  988. 3O4?e
  989. 3?3?v
  990. 3?C?fow
  991. 2?3?w
  992. UOe_EO
  993. 4O3OU_UoE_
  994. U_U_E_e_gow
  995. DO3O4OU_U_U_U_eoU_UoU_T_w
  996. 4O3O4OCOg
  997. 3O3O3OU_
  998. DO2?3?CO3?w
  999. 3?3O3?2?3?2?EO
  1000. VoUog
  1001. 4O3O4?3?4O3O3?3O3O3O4O3O#?3O#?3O#?3OVo
  1002. 4?CODOCO3?2?3?3O3?3O3?v
  1003. go3?#/3?U_
  1004. foeoUov
  1005. 3O#?C_#?3O4Of
  1006. 2?3?3?U_
  1007. fo2?3?2?U_
  1008. VoeoUo
  1009. 2?3?"?U_
  1010. fo2?3?2?U_
  1011. "?#?2?E_
  1012. U_2?"/3?UO
  1013. Vo3?#?"?E_
  1014. UoVoUo
  1015. E_UoV_U_E_UoU_UoE_UoU_UoE_UoU_UoE_UoU_U_U_UoU_UoE_UoU_UoE_UoE_UoU_eoU_"/"/2?U_UoE_UoE_Uo
  1016. UUUUUUUUUUU@
  1017. EUUTo
  1018. UUUUTno
  1019. UUUUUUUUUUX
  1020. =Find the printable strings in a object, or other binary, file
  1021. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  1022. \margl40
  1023. \margr40
  1024. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b\i0\ulnone\fs24\fc0\cf0 strings
  1025. \b0  looks for ASCII strings in a binary file. A string is any sequence of 4 or more printing characters ending with a newline or a null. Unless the - flag is given, strings looks in all sections of the object files except the (__TEXT,__text) section.  If no files are specified standard input is read.
  1026. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  1027. \margl40
  1028. \margr40
  1029. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 This option causes strings to look for strings all bytes of the files (the default for non-object files).
  1030.  {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  1031. \margl40
  1032. \margr40
  1033. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 This option causes strings to look for strings in all sections of the object file (including the (__TEXT,__text) section.
  1034. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  1035. \margl40
  1036. \margr40
  1037. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 Each string is preceded by its offset in the file (in octal)
  1038. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;\f1\fswiss Helvetica;}
  1039. \margl40
  1040. \margr40
  1041. \pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 Number is used as the minimum string length rather than 4
  1042. number
  1043. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  1044. \margl40
  1045. \margr40
  1046. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Minimum string length
  1047. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  1048. \margl40
  1049. \margr40
  1050. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 The file(s) to look for strings in
  1051. eoU_eoU_U_U_T_U_T_U_eoU_eoU_T_U_T_U_eoUOT_U_eoUOe_U_T_U_ToU_e
  1052. U_T_U_U_U_eoUoU_U_eoU_e_U_T_
  1053. U_U_UoE_UoV_Uo
  1054. T_U_U_U_U_U_ToU_T_E_e_U_T_
  1055. UoU_UoE_Uo
  1056. U_VoUo
  1057. U_T_U_e_
  1058. E_U_U_
  1059. U_T_U_
  1060. T_U_U_
  1061. D_3?D_DOC_4OT_
  1062. DOEODO4OD_4OD_4O3O4ODO4O3O
  1063. DOCODOCO4OT_4?CODOCODOCODOCO4?
  1064. UoVoUo
  1065. D_4OD_DOD_4OD_E_3O4O3O4O3O4O3ODOU_
  1066. DOT_DOCO4ODODOCO4?CODOCODOCODOCOU_
  1067. DO4OCODO3O4OUo
  1068. 3OCOU_
  1069. UoVoCODODO
  1070. EOT_EOTODO
  1071. eoE_CO4OT_
  1072. e_DODODO
  1073. U_DO4OD_
  1074. U_V_COw
  1075. ToU_T_
  1076. eoU_3O3?v
  1077. UoEOU_3?3Og
  1078. 3?3?v
  1079. UoE_w
  1080. 3?3?w
  1081. T_U_v
  1082. 3O4?e
  1083. 3?3?v
  1084. 3?C?fow
  1085. 2?3?w
  1086. UOe_EO
  1087. 4O3OU_UoE_
  1088. U_U_E_e_gow
  1089. DO3O4OU_U_U_U_eoU_UoU_T_w
  1090. 4O3O4OCOg
  1091. 3O3O3OU_
  1092. DO2?3?CO3?w
  1093. 3?3O3?2?3?2?EO
  1094. VoUog
  1095. 4O3O4?3?4O3O3?3O3O3O4O3O#?3O#?3O#?3OVo
  1096. 4?CODOCO3?2?3?3O3?3O3?v
  1097. go3?#/3?U_
  1098. foeoUov
  1099. 3O#?C_#?3O4Of
  1100. 2?3?3?U_
  1101. fo2?3?2?U_
  1102. VoeoUo
  1103. 2?3?"?U_
  1104. fo2?3?2?U_
  1105. "?#?2?E_
  1106. U_2?"/3?UO
  1107. Vo3?#?"?E_
  1108. UoVoUo
  1109. E_UoV_U_E_UoU_UoE_UoU_UoE_UoU_UoE_UoU_U_U_UoU_UoE_UoU_UoE_UoE_UoU_eoU_"/"/2?U_UoE_UoE_Uo
  1110. UUUUUUUUUUU@
  1111. EUUTo
  1112. UUUUTno
  1113. UUUUUUUUUUX
  1114. tsort
  1115. topological sort
  1116. .{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  1117. \margl40
  1118. \margr40
  1119. \pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b\i0\ulnone\fs24\fc0\cf0 tsort
  1120. \b0  produces on the standard output a totally ordered list of items consistent with a partial ordering of items mentioned in the input file. If no file is specified, the standard input is understood. The input consists of pairs of items (nonempty strings) separated by blanks. Pairs of different items indicate ordering. Pairs of identical items indicate presence, but not ordering.
  1121. {\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
  1122. \margl40
  1123. \margr40
  1124. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 The file(s) to topologically sort
  1125.